package com.hnx.admin.aurora.system.domain.convert.dict;

import com.hnx.admin.aurora.system.domain.dto.dict.entity.DictDataDTO;
import com.hnx.admin.aurora.system.domain.vo.dict.entity.DictDataVO;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

import java.util.List;

@Mapper(componentModel = "spring",unmappedSourcePolicy = ReportingPolicy.IGNORE)
public interface DictConvert {
    List<DictDataVO> toList(List<DictDataDTO> list);
}
